﻿
Partial Class AML_MasterPagePopup
    Inherits System.Web.UI.MasterPage

    Dim clsMenuRight As clsSessionMenuRight
    Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
        If Not (Session("ClsMenuRight") Is Nothing) Then
            clsMenuRight = New clsSessionMenuRight
            clsMenuRight = Session("ClsMenuRight")
            If Not (clsMenuRight.getUserRight.ToUpper = "ADMINISTRATOR") Then
                Response.Redirect("~/KYC/News.aspx")
            End If
        Else
            Response.Redirect("~/KYC/index.aspx")
        End If

    End Sub
End Class

